<?php
	function short_string($string){ 
	 $CI = & get_instance();
     $string = substr($string,0,50); 
     $string = substr($string,0,strrpos($string," ")); 
     return $string; 
}  
?>	